<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-18 22:33:04
 * @LastEditTime: 2023-09-20 15:52:02
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Models;

use App\Traits\MaterialTrait;
use App\Traits\VoucherTrait;

class FinanceBalanceInitialization extends BaseModel
    {
    //
    use MaterialTrait;
    use VoucherTrait;
    public $table = "sys_finance_balance_initialization";
    protected $guarded = [];

    public $voucherkey = "id";
    public function subject()
        {
        return $this->belongsTo(Subject::class);
        }
    public function department()
        {
        return $this->belongsTo(FinanceDepartment::class);
        }
    public function finance($v = null)
        {
        }
    public function nofinance($v = null)
        {
        }

    }
